<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <!-- bootstrap-css -->
    <link rel="stylesheet" href="/css/bootstrap.min.css" >
    <!-- //bootstrap-css -->
    <!-- Custom CSS -->
    <link href="/css/style.css" rel='stylesheet' type='text/css' />
    <link href="/css/style-responsive.css" rel="stylesheet"/>
    <!-- font CSS -->
    <!-- font-awesome icons -->
    <link rel="stylesheet" href="/css/font.css" type="text/css"/>
    <link href="/css/font-awesome.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/morris.css" type="text/css"/>
    <!-- calendar -->
    <link rel="stylesheet" href="/css/monthly.css">
    <!-- //calendar -->
    <!-- //font-awesome icons -->
    <#--<script src="/js/jquery2.0.3.min.js"></script>-->
    <script src="/js/raphael-min.js"></script>
    <script src="/js/morris.js"></script>
</head>
<body>
<header class="header fixed-top clearfix">
    <!--logo start-->
    <div class="brand">
        <a href="index.html" class="logo">
            车险公司
        </a>
        <div class="sidebar-toggle-box">
            <div class="fa fa-bars"></div>
        </div>
    </div>
    <!--logo end-->
    <div class="nav notify-row" id="top_menu">
        <!--  notification start -->
        <ul class="nav top-menu">
            <!-- settings start -->
            <li class="dropdown">
                <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <i class="fa fa-tasks"></i>
                    <span class="badge bg-success">8</span>
                </a>
                <ul class="dropdown-menu extended tasks-bar">
                    <li>
                        <p class="">You have 8 pending tasks</p>
                    </li>
                    <li>
                        <a href="#">
                            <div class="task-info clearfix">
                                <div class="desc pull-left">
                                    <h5>Target Sell</h5>
                                    <p>25% , Deadline  12 June’13</p>
                                </div>
                                <span class="notification-pie-chart pull-right" data-percent="45">
                            <span class="percent"></span>
                            </span>
                            </div>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <div class="task-info clearfix">
                                <div class="desc pull-left">
                                    <h5>Product Delivery</h5>
                                    <p>45% , Deadline  12 June’13</p>
                                </div>
                                <span class="notification-pie-chart pull-right" data-percent="78">
                            <span class="percent"></span>
                            </span>
                            </div>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <div class="task-info clearfix">
                                <div class="desc pull-left">
                                    <h5>Payment collection</h5>
                                    <p>87% , Deadline  12 June’13</p>
                                </div>
                                <span class="notification-pie-chart pull-right" data-percent="60">
                            <span class="percent"></span>
                            </span>
                            </div>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <div class="task-info clearfix">
                                <div class="desc pull-left">
                                    <h5>Target Sell</h5>
                                    <p>33% , Deadline  12 June’13</p>
                                </div>
                                <span class="notification-pie-chart pull-right" data-percent="90">
                            <span class="percent"></span>
                            </span>
                            </div>
                        </a>
                    </li>

                    <li class="external">
                        <a href="#">See All Tasks</a>
                    </li>
                </ul>
            </li>
            <!-- settings end -->
            <!-- inbox dropdown start-->
            <li id="header_inbox_bar" class="dropdown">
                <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <i class="fa fa-envelope-o"></i>
                    <span class="badge bg-important">4</span>
                </a>
                <ul class="dropdown-menu extended inbox">
                    <li>
                        <p class="red">You have 4 Mails</p>
                    </li>
                    <li>
                        <a href="#">
                            <span class="photo"><img alt="avatar" src="/images/3.png"></span>
                            <span class="subject">
                                <span class="from">Jonathan Smith</span>
                                <span class="time">Just now</span>
                                </span>
                            <span class="message">
                                    Hello, this is an example msg.
                                </span>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <span class="photo"><img alt="avatar" src="/images/1.png"></span>
                            <span class="subject">
                                <span class="from">Jane Doe</span>
                                <span class="time">2 min ago</span>
                                </span>
                            <span class="message">
                                    Nice admin template
                                </span>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <span class="photo"><img alt="avatar" src="/images/3.png"></span>
                            <span class="subject">
                                <span class="from">Tasi sam</span>
                                <span class="time">2 days ago</span>
                                </span>
                            <span class="message">
                                    This is an example msg.
                                </span>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <span class="photo"><img alt="avatar" src="/images/2.png"></span>
                            <span class="subject">
                                <span class="from">Mr. Perfect</span>
                                <span class="time">2 hour ago</span>
                                </span>
                            <span class="message">
                                    Hi there, its a cases
                                </span>
                        </a>
                    </li>
                    <li>
                        <a href="#">See all messages</a>
                    </li>
                </ul>
            </li>
            <!-- inbox dropdown end -->
            <!-- notification dropdown start-->
            <li id="header_notification_bar" class="dropdown">
                <a data-toggle="dropdown" class="dropdown-toggle" href="#">

                    <i class="fa fa-bell-o"></i>
                    <span class="badge bg-warning">3</span>
                </a>
                <ul class="dropdown-menu extended notification">
                    <li>
                        <p>Notifications</p>
                    </li>
                    <li>
                        <div class="alert alert-info clearfix">
                            <span class="alert-icon"><i class="fa fa-bolt"></i></span>
                            <div class="noti-info">
                                <a href="#"> Server #1 overloaded.</a>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="alert alert-danger clearfix">
                            <span class="alert-icon"><i class="fa fa-bolt"></i></span>
                            <div class="noti-info">
                                <a href="#"> Server #2 overloaded.</a>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="alert alert-success clearfix">
                            <span class="alert-icon"><i class="fa fa-bolt"></i></span>
                            <div class="noti-info">
                                <a href="#"> Server #3 overloaded.</a>
                            </div>
                        </div>
                    </li>

                </ul>
            </li>
            <!-- notification dropdown end -->
        </ul>
        <!--  notification end -->
    </div>
    <div class="top-nav clearfix">
        <!--search & user info start-->
        <ul class="nav pull-right top-menu">
            <li>
                <input type="text" class="form-control search" placeholder="搜索">
            </li>
            <!-- user login dropdown start-->
            <li class="dropdown">
                <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <img alt="" src="/uploadFiles/${(emp.pic)?default("")}">
                    <span class="username">${(emp.empName)?default("")}</span>
                    <b class="caret"></b>
                </a>
                <ul class="dropdown-menu extended logout">
                    <li><a href="/emp/toUpdatePic.do"><i class=" fa fa-suitcase"></i>查看图像</a></li>
                    <li><a href="/emp/toUpdateEmpPWTable.do"><i class="fa fa-cog"></i>设置我的信息</a></li>
                    <li><a href="/emp/logout.do"><i class="fa fa-key"></i> 退出</a></li>
                </ul>
            </li>
            <!-- user login dropdown end -->

        </ul>
        <!--search & user info end-->
    </div>
</header>
<!--header end-->
<!--sidebar start-->
<aside>
    <div id="sidebar" class="nav-collapse">
        <!-- sidebar menu start-->
        <div class="leftside-navigation">
            <ul class="sidebar-menu" id="nav-accordion">
                <li>
                    <a class="active" href="index.html">
                        <i class="fa fa-dashboard"></i>
                        <span>主页</span>
                    </a>
                </li>

                <@shiro.hasAnyRoles name="admin,manager">
                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-user"></i>
                        <span>员工管理</span>
                    </a>
                    <ul class="sub">

                        <#--<@shiro.hasAnyRoles name="admin,manager">-->
                        <li><a href="/emp/toGetEmpTable.do">查看员工信息</a></li>
                        <#--</@shiro.hasAnyRoles>-->

                        <#--<@shiro.hasAnyRoles name="manager,admin">-->
                        <li><a href="/emp/toAddEmpTable.do">新增员工信息</a></li>
                        <#--</@shiro.hasAnyRoles>-->

                    </ul>
                </li>
                </@shiro.hasAnyRoles>
                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-group"></i>
                        <span>客户管理</span>
                    </a>
                    <ul class="sub">

                        <@shiro.hasPermission name="查看客户信息">
                        <li><a href="/user/toList.do">查看客户信息</a></li>
                        </@shiro.hasPermission>

                        <@shiro.hasPermission name="客户黑名单">
                        <li><a href="/user/toBlackList.do">客户黑名单</a></li>
                        </@shiro.hasPermission>

                        <@shiro.hasPermission name="添加客户信息">
                        <li><a href="/user/add_User.do">添加客户信息</a></li>
                        </@shiro.hasPermission>
                    </ul>
                </li>

                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-thumb-tack"></i>
                        <span>案件管理</span>
                    </a>
                    <ul class="sub">

                        <@shiro.hasPermission name="查看报案信息">
                         <li><a href="/case/case.do">查看报案信息</a></li>
                        </@shiro.hasPermission>

                        <@shiro.hasPermission name="添加报案信息">
                         <li><a href="/case/toAddCase.do">添加报案信息</a></li>
                        </@shiro.hasPermission>
                    </ul>
                </li>
                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-truck"></i>
                        <span>车辆管理</span>
                    </a>
                    <ul class="sub">

                        <@shiro.hasPermission name="查看车辆信息">
                        <li><a href="/cars/find.do">查看车辆信息</a></li>
                        </@shiro.hasPermission>

                        <@shiro.hasPermission name="添加车辆信息">
                        <li><a href="/cars/addCars.do">添加车辆信息</a></li>
                        </@shiro.hasPermission>
                    </ul>
                </li>
                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-medkit"></i>
                        <span>保险管理</span>
                    </a>
                    <ul class="sub">
                        <li><a href="#">类别管理</a>
                            <ul class="sub">
                               <@shiro.hasPermission name="查看类别">
                                <li><a href="/insurcate/toInsurcateList.do">查看类别</a></li>
                               </@shiro.hasPermission>

                                <@shiro.hasRole name="manager">
                                <li><a href="/insurcate/toAddInsurcate.do">添加类别</a></li>
                                </@shiro.hasRole>
                            </ul>
                        </li>
                        <li><a href="#">套餐管理</a>
                            <ul class="sub">
                                <@shiro.hasPermission name="查看套餐">
                                <li><a href="/comb/toComboList.do">查看套餐</a></li>
                                 </@shiro.hasPermission>

                                 <@shiro.hasRole name="manager">
                                <li><a href="/comb/toAddCombo.do">添加套餐</a></li>
                                 </@shiro.hasRole>
                            </ul>
                        </li>
                    </ul>
                </li>
                <@shiro.hasAnyRoles name="admin,manager">
                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class=" fa fa-leaf"></i>
                        <span>信息审核管理</span>
                    </a>
                    <ul class="sub">
                        <@shiro.hasRole name="manager">
                        <li><a href="/check/checkCase.do">报案审核</a></li>
                        </@shiro.hasRole>

                         <@shiro.hasRole name="manager">
                        <li><a href="/check/checkBackOrder.do">退保审核</a></li>
                         </@shiro.hasRole>

                         <@shiro.hasRole name="admin">
                        <li><a href="/check/checkCombo.do">套餐审核</a></li>
                         </@shiro.hasRole>

                         <@shiro.hasRole name="manager">
                        <li><a href="/check/checkInsurcate.do">类别审核</a></li>
                         </@shiro.hasRole>

                         <@shiro.hasRole name="admin">
                        <li><a href="/check/checkBranch.do">支点审核</a></li>
                         </@shiro.hasRole>
                    </ul>
                </li>
                </@shiro.hasAnyRoles>

                <@shiro.hasRole name="admin">
                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class=" fa fa-tags"></i>
                        <span>权限管理</span>
                    </a>
                    <ul class="sub">
                        <li><a href="/role/getRole.do">角色信息</a></li>
                        <li><a href="/role/updatePermission.do">权限修改</a></li>
                    </ul>
                </li>
                </@shiro.hasRole>
                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-pencil-square-o"></i><span>业务管理</span>
                    </a>
                    <ul class="sub">
                        <li><a href="#">保险交易</a>
                            <ul class="sub">
                                <li><a href="/order/toOrderInsurance.do">保险购买</a></li>
                                <li><a href="/order/toOrderQuery.do">查看订单</a></li>
                            </ul>
                        </li>
                        <li><a href="#">保险赔偿</a>
                            <ul class="sub">
                               <@shiro.hasPermission name="查看赔偿记录">
                                 <li><a href="/payBack/to_payBackRecord.do">查看赔偿记录</a></li>
                               </@shiro.hasPermission>

                                <@shiro.hasAnyRoles name="admin,manager,user">
                                 <li><a href="/payBack/to_payBack.do">待赔偿结算</a></li>
                                </@shiro.hasAnyRoles>

                            </ul>
                        </li>
                    </ul>
                </li>

                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-sitemap"></i>
                        <span>支点管理</span>
                    </a>
                    <ul class="sub">
                         <@shiro.hasAnyRoles name="admin,manager">
                        <li><a href="/branch/tobranchmap.do">添加支点</a></li>
                         </@shiro.hasAnyRoles>

                         <li><a href="/branch/tobranchlist.do">查看支点</a></li>
                    </ul>
                </li>
                <li class="sub-menu">
                    <a href="javascript:;">
                        <i class="fa fa-shield"></i>
                        <span>用户服务</span>
                    </a>
                    <ul class="sub">
                        <li><a href="basic_table.html">导出报案</a></li>
                        <li><a href="/count/BeforetoAfter.do">计算器</a></li>

                    </ul>
                </li>

            </ul>            </div>
        <!-- sidebar menu end-->
    </div>
</aside>
<!--sidebar end-->
<script src="/js/bootstrap.js"></script>
<script src="/js/jquery.dcjqaccordion.2.7.js"></script>
<script src="/js/scripts.js"></script>
<script src="/js/jquery.slimscroll.js"></script>
<script src="/js/jquery.nicescroll.js"></script>
<script src="/js/jquery.scrollTo.js"></script>
</body>
</html>